﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace OnATous.DBO
{
    public class Rating
    {
        #region Properties
        private Int64 _id;
        private Int64 _idUser;
        private Int64 _idContact;
        private Int64 _idFeaturePrimary;
        private Int64 _idFeatureSecondary;
        private Int64 _idFeatureTertiary;
        private int _score;
        private string _comments;
        private bool _isVisible;
        #endregion Properties

        #region Getter/Setter
        public Int64 Id
        {
            get { return _id; }
            set { _id = value; }
        }
        public Int64 IdUser
        {
            get { return _idUser; }
            set { _idUser = value; }
        }
        public Int64 IdContact
        {
            get { return _idContact; }
            set { _idContact = value; }
        }
        public Int64 IdFeaturePrimary
        {
            get { return _idFeaturePrimary; }
            set { _idFeaturePrimary = value; }
        }
        public Int64 IdFeatureSecondary
        {
            get { return _idFeatureSecondary; }
            set { _idFeatureSecondary = value; }
        }
        public Int64 IdFeatureTertiary
        {
            get { return _idFeatureTertiary; }
            set { _idFeatureTertiary = value; }
        }
        public int Score
        {
            get { return _score; }
            set { _score = value; }
        }
        public string Comments
        {
            get { return _comments; }
            set { _comments = value; }
        }
        public bool IsVisible
        {
            get { return _isVisible; }
            set { _isVisible = value; }
        }
        #endregion Getter/Setter

        #region Constructors
        public Rating()
        {
            _idUser = 0;
            _idContact = 0;
            _idFeaturePrimary = 0;
            _idFeatureSecondary = 0;
            _idFeatureTertiary = 0;
            _score = 0;
            _comments = "";
            _isVisible = false;
        }
        public Rating(Int64 idUser, Int64 idContact, Int64 idFeaturePrimary, Int64 idFeatureSecondary, Int64 idFeatureTertiary, int score, string comments, bool isVisible)
        {
            _idUser = idUser;
            _idContact = idContact;
            _idFeaturePrimary = idFeaturePrimary;
            _idFeatureSecondary = idFeatureSecondary;
            _idFeatureTertiary = idFeatureTertiary;
            _score = score;
            _comments = comments;
            _isVisible = isVisible;
        }
        #endregion Constructors

    }
    
}